package com.itheima;

import feign.Logger;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Bean;

@SpringBootApplication
//@EnableEurekaClient
@EnableDiscoveryClient
@EnableFeignClients //开启feign支持
public class ConsumerServiceFeignApplication {

    public static void main(String[] args) {
        SpringApplication.run(ConsumerServiceFeignApplication.class, args);
    }

 /*   *//*
    声明feign的日志级别
    *//*
    @Bean
    public Logger.Level configLevel(){
        return Logger.Level.FULL;
    }*/

}
